<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据源名称：</label>
                            <div class="col-sm-8">
                                <input id="fileName" name="fileName" class="form-control" placeholder="必填，限定30个字符以内">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">分类名称：</label>
                            <div class="col-sm-8">
                                <select name="categoryName" id="categoryName" class="form-control">
                                    <option value="TXT">TXT</option>
                                    <option value="CSV">CSV</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">文件路径：</label>
                            <div class="col-sm-8">
                                <input id="filePath" name="filePath" class="form-control" placeholder="必填，输入文件路径">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">字段分隔符：</label>
                            <div class="col-sm-8">
                                <select id="fileDelimeter" name="fileDelimeter" class="form-control">
                                    <option value=";">分号</option>
                                    <option value=",">逗号</option>
                                    <option value=" ">空格</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">记录分隔符：</label>
                            <div class="col-sm-8">
                                <select id="recordDelimeter" name="recordDelimeter" class="form-control">
                                    <option value="CRLF">CRLF</option>
                                    <option value="CR">CR</option>
                                    <option value="LF">LF</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">文本限定符：</label>
                            <div class="col-sm-8">
                                <select id="textQualifier" name="textQualifier" class="form-control" type="text">
                                    <option value="double">双引号</option>
                                    <option value="single">单引号</option>
                                    <option value="none">无</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">编码格式：</label>
                            <div class="col-sm-8">
                                <select id="fileEncode" name="fileEncode" class="form-control" type="text">
                                    <option value="UTF-8">UTF-8</option>
                                    <option value="GBK">GBK</option>
                                    <option value="GB2312">GB2312</option>
                                    <option value="ISO-8859-1">ISO-8859-1</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">首行行数：</label>
                            <div class="col-sm-8">
                                <select id="fileFirstline" name="fileFirstline" class="form-control" >
                                    <option value="0">0</option>
                                    <option value="1">1</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/staticmask/maskFile/add.js">
</script>
</body>
</html>
